<%-- 
    Document   : menu
    Created on : 19/09/2009, 10:14:07
    Author     : fabricio

        <c :url value="FrontController?action=LogarUsuario" var="chamaLogarUsuario" scope="page">
            <c:set var="nickName" value="${usuario.nickName}" scope="session"/>
            <c:set var="senha" value="${usuario.senha}" scope="session"/>
        </c :url>
--%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<div id="menu-v">
    <h1>Navega&ccedil;&atilde;o</h1>
    <!--
    montagem das urls via jstl
    -->
    <c:url var="homadm" value="/FrontController?action=HomeAdministracao"/>
    <c:url var="manusu" value="/FrontController?action=ManutencaoUsuario"/>
    <c:url var="manpos" value="/FrontController?action=ManutencaoPostagem"/>
    <c:url var="mancat" value="/FrontController?action=ManutencaoCategoria"/>
    <c:url var="mancom" value="/FrontController?action=ManutencaoComentario"/>
    <c:url var="mantag" value="/FrontController?action=ManutencaoTag"/>
    <c:url var="logout" value="/FrontController?action=Logout"/>
    <ul>        
        <li><a href="${homadm}">Administra&ccedil;&atilde;o</a></li>
        <li><a href="${manusu}">Usu&aacute;rio</a></li>
        <li><a href="${manpos}">Postagens</a></li>
        <li><a href="${mancat}">Categorias</a></li>
        <li><a href="${mancom}">Coment&aacute;rios</a></li>
        <li><a href="${mantag}">Tags</a></li>
        <li><a href="${logout}">Sair</a></li>
    </ul>
</div>